#include "person.h"
using namespace std;

void person::showInfo(){
    cout << "name is " << name << " ,age = " << age << endl; 
}

void person::setInfo(int a, string n){
    age = a;
    name = n;
}